package cn.zhibang.sannuo.commons.model;

import lombok.*;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName CommonResult.java
 * @Description TODO 返回json类
 * @createTime 2021年03月29日 19:16:00
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Component
public class CommonResult<T> implements Serializable {

    private static final long serialVersionUID = -3109571270538154238L;

    private Integer code;
    private String maggers;
    private T data;
    private String url;

}
